<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Step 7: Performing Backup">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="gaussdbT_00010.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20241029">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="gaussdbT_00016">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Step 7: Performing Backup</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="gaussdbT_00016"></a><a name="gaussdbT_00016"></a>

<h1 class="topictitle1">Step 7: Performing Backup</h1>
<div><p>Before performing backup, you need to associate the resources to be protected with a specified SLA. The system protects the resources and periodically executes backup jobs based on the SLA. You can perform a backup job immediately through manual backup.</p>
<div class="section"><h4 class="sectiontitle">Precautions</h4><ul><li>If a full backup fails and the next backup is a log backup, the log backup will fail because the log backup depends on the copy generated in the last successful full backup. In this case, manually perform a full backup.</li></ul>
<ul><li>During manual backup, the parameters (except <span class="uicontrol"><b><span><strong>Automatic Retry</strong></span></b></span>) defined in the SLA, such as <span class="uicontrol"><b><span><strong>Rate Limiting Policies</strong></span></b></span>, are applied to the manual backup job.</li><li>Copies generated by manual backup are retained for the duration defined in the SLA.</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">Prerequisites</h4><p>The prerequisites for backing up a single-node GaussDB T database are as follows:</p>
<ul><li>The GaussDB T database is running properly.</li><li>If full backup or log backup is required, ensure that log archiving has been enabled before backup.</li></ul>
<p>The prerequisites for backing up a GaussDB T cluster database are as follows:</p>
<p>The database needs to run in <strong>ARCHIVELOG</strong> mode and archive redo logs to multiple locations. For details about how to query and change the log archiving mode, see <a href="gaussdbT_00071.html">Step 2: Setting the Redo Log Mode</a>.</p>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Choose <span class="uicontrol" id="gaussdbT_00016__gaussdbt_00012_en-us_topic_0000001839142377_uicontrol174093353365"><b><span id="gaussdbT_00016__gaussdbt_00012_en-us_topic_0000001839142377_text164093351368"><strong>Protection</strong></span> &gt; Databases &gt; GaussDB T</b></span>.</span></li><li><span>Select the database instance to be protected and click <span class="uicontrol"><b><span><strong>Protect</strong></span></b></span>.</span><p><p>You can also select multiple database instances for batch protection.</p>
</p></li><li><span>Select an SLA.</span><p><div class="p" id="gaussdbT_00016__en-us_topic_0000001964713008_p16181740836">You can also click <span class="uicontrol" id="gaussdbT_00016__en-us_topic_0000001964713008_uicontrol169554520714"><b><span id="gaussdbT_00016__en-us_topic_0000001964713008_text179554516717"><strong>Create</strong></span></b></span> to create an SLA.<div class="note" id="gaussdbT_00016__en-us_topic_0000001964713008_note25947145710"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdbT_00016__en-us_topic_0000001964713008_p125947145711"><span id="gaussdbT_00016__en-us_topic_0000001964713008_ph1413818422327">If a WORM policy has been configured for the resources to be protected, select an SLA without a WORM policy to avoid WORM policy conflicts.</span></p>
</div></div>
</div>
</p></li></ol><ol start="4"><li><span>Click <span class="uicontrol" id="gaussdbT_00016__en-us_topic_0000001964713008_uicontrol23691650677"><b>OK</b></span>.</span><p><p id="gaussdbT_00016__en-us_topic_0000001964713008_en-us_topic_0000001656691397_p25041111535">If the current system time is later than the start time of the first backup specified in the SLA, you can select <strong id="gaussdbT_00016__en-us_topic_0000001964713008_b9624185216713">Execute manual backup now</strong> in the dialog box that is displayed or choose to perform automatic backup periodically based on the backup policy set in the SLA.</p>
</p></li><li><strong>Optional: </strong><span>Execute manual backup.</span><p><p>If you want to execute a backup job immediately, perform manual backup through the following operations. Otherwise, skip this step.</p>
<ol type="a"><li>Choose <span class="uicontrol"><b><span><strong>More</strong></span> &gt; <span><strong>Manual Backup</strong></span></b></span> in the row containing the database to be backed up. Multiple resources can be manually backed up at the same time.</li><li>Set the name of the copy generated during manual backup.<p>If this parameter is left empty, the system sets the name to <strong>backup_</strong><em>Timestamp</em> by default.</p>
</li><li>Select a protection policy, which can be <span><strong>Full backup</strong></span>, <span><strong>Incremental backup</strong></span>, <span><strong>Differential Backup</strong></span>, or <span><strong>Log Backup</strong></span>.<div class="note"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul><li><span><strong>Incremental backup</strong></span> and <span><strong>Differential Backup</strong></span> apply only to GaussDB T cluster backup scenarios.</li><li><span>For 1.6.0 and later versions, if the selected protection policy is different from that configured in the associated SLA, the WORM configuration does not take effect.</span></li></ul>
</div></div>
</li><li>Click <span class="uicontrol"><b><span><strong>OK</strong></span></b></span>.</li></ol>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdbT_00010.html">Backing Up a GaussDB T Database</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>